package kata;

import java.util.ArrayList;

public class PokerHandsImpl implements PokerHands {

	private WinCaseDecider winCaseDecider;

	public PokerHandsImpl(WinCaseDecider winCaseDecider) {
		this.winCaseDecider = winCaseDecider;
	}

	@Override
	public String compareHands(ArrayList<Card> anyHandOne, ArrayList<Card> anyHandTwo) {
		return winCaseDecider.decide(anyHandOne, anyHandTwo);
	}
}